package com.woniu.mapper;

import com.woniu.entity.SurgeryItem;
import com.woniu.entity.Ward;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author FQY
* @description 针对表【ward(病房)】的数据库操作Mapper
* @createDate 2025-10-30 19:08:12
* @Entity com.woniu.entity.Ward
*/
public interface WardMapper {

    Integer deleteByPrimaryKey(Integer id);

    Integer insert(Ward record);

    Integer insertSelective(Ward record);

    Ward selectByPrimaryKey(Integer id);

    Integer updateByPrimaryKeySelective(Ward record);

    Integer updateByPrimaryKey(Ward record);
    List<Ward> findAll();
    Integer updateWard(Integer id);
    List<Ward> selectByCondition(@Param("roomName")  String roomName);

}
